#pragma once

#include <QWidget>
#include "networkmanager.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MedicineDeleteWindow; }
QT_END_NAMESPACE

class MedicineDeleteWindow : public QWidget
{
    Q_OBJECT

public:
    MedicineDeleteWindow(QWidget *parent = nullptr);
    ~MedicineDeleteWindow();

private slots:
    void on_deleteButton_clicked();
    void on_cancelButton_clicked();
    void handleDeleteMedicineResponse(const QJsonObject &response);

private:
    Ui::MedicineDeleteWindow *medicinedeletewindowUi;
    NetworkManager *networkManager;
};
